package com.langrensha.langrensha.entity;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public enum ClientTypeEnum {
    MAN("man", "vote", "seat"),
    WOLF("wolf", "kill"),
    HUNTER("hunter", "gun"),
    PROPHET("prophet", "check"),
    WITCH("witch", "save", "poison"),
    ADMIN("admin", "begin", "card"),
    WHITE("white");

    private String type;
    private List<String> actions;

    ClientTypeEnum(String type, String... actions) {
        this.type = type;
        this.actions = new ArrayList<String>();
        Collections.addAll(this.actions, actions);
    }

    public String type() {
        return this.type;
    }
}
